package cn.pink.gamesrv.account;
                    
import cn.pink.core.Service;
import cn.pink.core.gen.proxy.RPCImplBase;
import cn.pink.gamesrv.RPCProxy.AccountServiceProxy.EnumCall;
import cn.pink.core.support.function.*;
import cn.pink.core.gen.IronGenFile;

@SuppressWarnings("unchecked")
@IronGenFile
public final class AccountServiceImpl extends RPCImplBase {
	
	/**
	 * 获取函数指针
	 */
	@Override	
	public Object getMethodFunction(Service service, int methodKey) {
		AccountService serv = (AccountService)service;
		switch (methodKey) {
			case EnumCall.CN_PINK_GAMESRV_ACCOUNT_ACCOUNTSERVICE_DEFAULTHANDLER_STRING_BYTES: {
				return (IronFunction2<String, byte[]>)serv::defaultHandler;
			}
			default: break;
		}
		
		return null;
	}

}
